package com.simonall.print;

import java.io.InputStream;

import javax.print.PrintService;

import com.simonall.enums.FileExtenNameEnum;

/**
 * 简单的文档打印服务
 * 
 * @author simonall
 */
public class SimpleDocPrintHandler implements PrintHandler {

	@Override
	public FileExtenNameEnum[] handleType() {
		return new FileExtenNameEnum[] { FileExtenNameEnum.DOC };
	}

	@Override
	public void print(byte[] bytes, PrintService service, Integer copies) throws Exception {
		// TODO Auto-generated method stub
		
	}

	@Override
	public void print(InputStream input, PrintService service, Integer copies) throws Exception {
		// TODO Auto-generated method stub
		
	}

}
